Skip to content

[bot] docs: update Learning Hub for Copilot CLI v1.0.15–v1.0.16 changes#1273

Merged
aaronpowell merged 1 commit intostagedfrom
learning-hub/updates-april-2026-f6b55b7f73507e1e
Apr 9, 2026
Merged

[bot] docs: update Learning Hub for Copilot CLI v1.0.15–v1.0.16 changes#1273
aaronpowell merged 1 commit intostagedfrom
learning-hub/updates-april-2026-f6b55b7f73507e1e

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 2, 2026

What's New

Copilot CLI released v1.0.15 (2026-04-01) and v1.0.16 (2026-04-02) with several noteworthy changes. This PR updates three Learning Hub pages to document the features that weren't yet covered.

Changes Found

v1.0.16 (2026-04-02)

  • PermissionRequest hook — new hook event that fires when the CLI shows a permission prompt to the user, allowing scripts to programmatically approve or deny it (distinct from preToolUse which blocks/allows tool calls)
  • marketplaces repository setting removed — replaced by extraKnownMarketplaces (the old setting was already deprecated; now fully removed)

v1.0.15 (2026-04-01)

  • Ctrl+D no longer queues messages — use Ctrl+Q or Ctrl+Enter instead (behavioral change that could confuse users with existing muscle memory)

Already documented in prior Learning Hub updates: postToolUseFailure hook, mcp.config.* RPCs, /mcp auth, device code flow, /share html, camelCase config settings.

Sections Updated

automating-with-hooks.md

  • Added PermissionRequest to the Hook Events table
  • Added new practical example section "Auto-Approve Permissions in CI with PermissionRequest" with a JSON hook config and a bash policy script
  • Updated lastUpdated date to 2026-04-02

copilot-configuration-basics.md

  • Added a note on Ctrl+Q / Ctrl+Enter as the new queue shortcuts (and that Ctrl+D no longer queues) in the CLI Session Commands section
  • Updated lastUpdated date to 2026-04-02

installing-and-using-plugins.md

  • Added a new sub-section "Sharing Marketplace Registrations Across a Team" documenting the extraKnownMarketplaces config setting with a JSON example
  • Noted that this replaces the old marketplaces setting removed in v1.0.16
  • Updated lastUpdated date to 2026-04-02

Source Announcements

Generated by Learning Hub Updater ·

- Add PermissionRequest hook event to automating-with-hooks.md with
  practical CI example (new in v1.0.16)
- Add Ctrl+Q / Ctrl+Enter queue shortcut note to copilot-configuration-basics.md
  (Ctrl+D no longer queues as of v1.0.15)
- Add extraKnownMarketplaces config setting to installing-and-using-plugins.md
  (old 'marketplaces' setting removed in v1.0.16)
- Update lastUpdated dates on all three files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell marked this pull request as ready for review April 9, 2026 02:48
Copilot AI review requested due to automatic review settings April 9, 2026 02:48
@aaronpowell aaronpowell merged commit b80ea43 into staged Apr 9, 2026
@aaronpowell aaronpowell deleted the learning-hub/updates-april-2026-f6b55b7f73507e1e branch April 9, 2026 02:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Learning Hub documentation to reflect GitHub Copilot CLI v1.0.15–v1.0.16 changes (new PermissionRequest hook event, plugin marketplace config rename/removal, and updated message-queue shortcuts).

Changes:

  • Documented the new PermissionRequest hook event and added a CI-focused auto-approval example.
  • Added documentation for extraKnownMarketplaces (replacing the removed marketplaces setting).
  • Updated CLI session docs to note Ctrl+Q / Ctrl+Enter for queuing messages and that Ctrl+D no longer queues.
Show a summary per file
File Description
website/src/content/docs/learning-hub/installing-and-using-plugins.md Adds team-sharing guidance for marketplace registrations via extraKnownMarketplaces.
website/src/content/docs/learning-hub/copilot-configuration-basics.md Documents new keyboard shortcuts for message queuing (Ctrl+Q / Ctrl+Enter) and Ctrl+D behavior change.
website/src/content/docs/learning-hub/automating-with-hooks.md Adds PermissionRequest to the hook events list and includes a new CI auto-approval example.

Copilot's findings

Comments suppressed due to low confidence (1)

website/src/content/docs/learning-hub/automating-with-hooks.md:223

  • The example hook config uses the PascalCase event key "PermissionRequest". If the intent is to keep examples aligned with the rest of the page (which consistently uses camelCase event keys like postToolUse, preToolUse, etc.), consider switching this to camelCase (e.g., "permissionRequest") and rely on the existing note that PascalCase variants are also accepted.
  "version": 1,
  "hooks": {
    "PermissionRequest": [
      {
        "type": "command",
  • Files reviewed: 3/3 changed files
  • Comments generated: 2

Comment on lines +145 to +148
### Sharing Marketplace Registrations Across a Team

To automatically register an additional marketplace for everyone working in a repository, add an `extraKnownMarketplaces` entry to your `.github/copilot-settings.json` (or `config.json`):

Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs recommend adding extraKnownMarketplaces to .github/copilot-settings.json, but elsewhere the Learning Hub states Copilot CLI configuration lives in ~/.copilot-cli/config.json with per-project overrides in .claude/settings.json / .claude/settings.local.json (see website/src/content/docs/learning-hub/copilot-configuration-basics.md:375-402). Unless .github/copilot-settings.json is a real supported config path, this will mislead readers—please update the path(s) here to match the documented config locations and clarify whether this is a global vs per-repo setting.

Copilot uses AI. Check for mistakes.
| `preToolUse` | Before the agent uses any tool (e.g., `bash`, `edit`) | **Approve or deny** tool executions, block dangerous commands, enforce security policies |
| `postToolUse` | After a tool **successfully** completes execution | Log results, track usage, format code after edits |
| `postToolUseFailure` | When a tool call **fails with an error** | Log errors for debugging, send failure alerts, track error patterns |
| `PermissionRequest` | When the CLI shows a **permission prompt** to the user | Programmatically approve or deny permission requests, enable auto-approval in CI/headless environments |
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Hook Events table, all event names are listed in camelCase (e.g., preToolUse, postToolUseFailure), but this new entry uses PascalCase (PermissionRequest). Since the doc later says both casing styles are accepted, consider listing the canonical/primary name in camelCase here (e.g., permissionRequest) for consistency and to reduce confusion.

This issue also appears on line 219 of the same file.

Suggested change
| `PermissionRequest` | When the CLI shows a **permission prompt** to the user | Programmatically approve or deny permission requests, enable auto-approval in CI/headless environments |
| `permissionRequest` | When the CLI shows a **permission prompt** to the user | Programmatically approve or deny permission requests, enable auto-approval in CI/headless environments |

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants